package org.footballmanager.pandafootball.system.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.footballmanager.pandafootball.system.domain.enums.SPYS;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Entity
@Setter
@Getter
@ToString
public class FootDanGrading extends BaseEntity implements Serializable {
    @Column(name = "name", length = 200)
    @NotNull
    private String name;
    @Column(name = "level")
    @NotNull
    private Integer level;
    @Column(name = "award")
    @NotNull
    private SPYS award;
    @Column(name = "number")
    @NotNull
    private Integer number;
}
